package com.qf;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//相当于扫描
@SpringBootApplication
//指定com.qf中的接口 以及mapper文件
@MapperScan(basePackages = "com.qf.dao")
public class SpringBootMyBatisApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpringBootMyBatisApplication.class,args);
    }
}
